﻿<UserControl x:Class="RFW.Silverlight.CurrentWeather.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="200" d:DesignWidth="650" xmlns:my="clr-namespace:RFW.Silverlight.Weather;assembly=RFW.Silverlight.Weather" Loaded="UserControl_Loaded">

	<Grid x:Name="LayoutRoot" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="200" />
			<ColumnDefinition Width="5" />
			<ColumnDefinition Width="auto" />
			<ColumnDefinition Width="auto" />
			<ColumnDefinition Width="auto" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="20" />
			<RowDefinition />
			<RowDefinition Height="30" />
			<RowDefinition />
		</Grid.RowDefinitions>
		<my:WindDirection HorizontalAlignment="Stretch" Name="wcWind" VerticalAlignment="Stretch" Grid.RowSpan="4" Grid.Row="0" />
		<my:DigitalDisplay Margin="5" HorizontalAlignment="Right" Name="ddTemp" VerticalAlignment="center" NumberOfDigits="3,1" Grid.Column="2" Grid.Row="1" Height="65" Width="130" />
		<my:DigitalDisplay Margin="5" Height="65" HorizontalAlignment="Right" Name="ddHumidity" NumberOfDigits="3,1" VerticalAlignment="center" Width="130" Grid.Column="3" Grid.Row="1" />
		<my:DigitalDisplay Margin="5" Height="65" HorizontalAlignment="Right" Name="ddPressure" NumberOfDigits="2,2" VerticalAlignment="center" Width="130" Grid.Column="4" Grid.Row="1" />
		<my:DigitalDisplay Margin="5" Height="65" HorizontalAlignment="Right" Name="ddRainHour" NumberOfDigits="2,2" VerticalAlignment="center" Width="130" Grid.Column="2" Grid.Row="3" />
		<my:DigitalDisplay Margin="5" Height="65" HorizontalAlignment="Right" Name="ddRainToday" NumberOfDigits="2,2" VerticalAlignment="center" Width="130" Grid.Column="3" Grid.Row="3" />
		<TextBlock Grid.Row="0" Grid.Column="2"  HorizontalAlignment="Center" Text="Temperature" VerticalAlignment="Bottom" />
		<TextBlock Grid.Row="0" Grid.Column="3"  HorizontalAlignment="Center" Text="Humidity" VerticalAlignment="Bottom" />
		<TextBlock Grid.Row="0" Grid.Column="4"  HorizontalAlignment="Center" Text="Pressure" VerticalAlignment="Bottom" />
		<TextBlock Grid.Row="2" Grid.Column="2"  HorizontalAlignment="Center" Text="Rain in/hour" VerticalAlignment="Bottom" />
		<TextBlock Grid.Row="2" Grid.Column="3"  HorizontalAlignment="Center" Text="Rain in/today" VerticalAlignment="Bottom" />
	</Grid>
</UserControl>
